package com.hopes.bizz.close.gis.bo;

import lombok.Data;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

/**
 * @author yumr
 * @ProjectName bizz
 * @Description 危化品车辆统计BO
 * @time 2023/10/26 19:35
 */
@Data
public class HazardCarBO<R> implements Serializable {

    private static final long serialVersionUID = 6365988995997504377L;

    private String index;

    private Long count;

    private Map<R, Long> groupMap;

    public HazardCarBO(String index, Long count) {
        this.index = index;
        this.count = count;
    }

    public HazardCarBO(String index, Map<R, Long> groupMap) {
        this.index = index;
        this.groupMap = groupMap;
    }
}
